package com.create404.suishoupai.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * TODO
 *
 * @author Stephana
 * date 2021/7/24 13:36
 * @version 1.0
 */
@Data
public class CommentedNewsDto implements Serializable {

    @ApiModelProperty(value = "新闻id")
    private String newsId;

    @ApiModelProperty(value = "新闻时间")
    private LocalDateTime time;

    @ApiModelProperty(value = "来源")
    private String source;

    @ApiModelProperty(value = "类型")
    private String type;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "头图")
    private String headerImage;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "评论")
    private String comment;

    @ApiModelProperty(value = "评论时间")
    private LocalDateTime commentTime;
}
